home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / c-runtime / tests / RCS / Confuse.m,v < prev    next >
Encoding:
Text File  |  1992-08-18  |  2.8 KB  |  195 lines

  1. head    1.1;
  2. access;
  3. symbols;
  4. locks
  5.     dglattin:1.1; strict;
  6. comment    @# @;
  7.  
  8.  
  9. 1.1
  10. date    92.08.18.04.58.04;    author dglattin;    state Exp;
  11. branches;
  12. next    ;
  13.  
  14.  
  15. desc
  16. @test code.
  17. @
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @#include  <Confuse.h>
  26. #include  <stdio.h>
  27. #include  <objc-proto.h>
  28.  
  29.  
  30. @@implementation SubClass1 (Third_Test)
  31.  
  32. - additionalMethod4 {
  33.  
  34.   printf( "a message from %s, %s, Third_Test category.\n",
  35.     [ self name ], sel_getName (_cmd));
  36.   return self;
  37. }
  38.  
  39. @@end
  40.  
  41.  
  42. @@implementation SubClass1 (Fourth_Test)
  43.  
  44. - additionalMethod5 {
  45.  
  46.   printf( "a message from %s, %s, Fourth_Test category.\n",
  47.     [ self name ], sel_getName (_cmd));
  48.   return self;
  49. }
  50.  
  51.  
  52. @@end
  53.  
  54.  
  55. @@implementation SubClass1 (First_Test)
  56.  
  57. - additionalMethod1 {
  58.  
  59.   printf( "a message from %s, %s, First_Test category.\n",
  60.     [ self name ], sel_getName (_cmd));
  61.   return self;
  62. }
  63.  
  64.  
  65. - additionalMethod2 {
  66.  
  67.   printf( "a message from %s, %s, First_Test category.\n",
  68.     [ self name ], sel_getName (_cmd));
  69.   return self;
  70. }
  71.  
  72.  
  73. @@end
  74.  
  75.  
  76. @@implementation SubClass2 (First_Test)
  77.  
  78. - additionalMethod1 {
  79.  
  80.   printf( "a message from %s, %s, First_Test category.\n",
  81.     [ self name ], sel_getName (_cmd));
  82.   return self;
  83. }
  84.  
  85.  
  86. - additionalMethod2 {
  87.  
  88.   printf( "a message from %s, %s, First_Test category.\n",
  89.     [ self name ], sel_getName (_cmd));
  90.   return self;
  91. }
  92.  
  93.  
  94. - additionalMethod3 {
  95.  
  96.   printf( "a message from %s, %s, First_Test category.\n",
  97.     [ self name ], sel_getName (_cmd));
  98.   return self;
  99. }
  100.  
  101.  
  102. @@end
  103.  
  104.  
  105. @@implementation SubClass3 (First_Test)
  106.  
  107. + additionalClassMethod {
  108.  
  109.   printf( "a message from %s, %s, First_Test category.\n",
  110.     class_getClassName( self ), sel_getName (_cmd));
  111.   return self;
  112. }
  113.  
  114.  
  115. - additionalMethod1a {
  116.  
  117.   printf( "a message from %s, %s, First_Test category.\n",
  118.     [ self name ], sel_getName (_cmd));
  119.   return self;
  120. }
  121.  
  122.  
  123. - additionalMethod2a {
  124.  
  125.   printf( "a message from %s, %s, First_Test category.\n",
  126.     [ self name ], sel_getName (_cmd));
  127.   return self;
  128. }
  129.  
  130.  
  131.  
  132. @@end
  133.  
  134.  
  135. @@implementation SubClass2 (Second_Test)
  136.  
  137. - additionalMethod4a {
  138.  
  139.   printf( "a message from %s, %s, Second_Test category.\n",
  140.     [ self name ], sel_getName (_cmd));
  141.   return self;
  142. }
  143.  
  144.  
  145. - additionalMethod5a {
  146.  
  147.   printf( "a message from %s, %s, Second_Test category.\n",
  148.     [ self name ], sel_getName (_cmd));
  149.   return self;
  150. }
  151.  
  152.  
  153. - additionalMethod6a {
  154.  
  155.   printf( "a message from %s, %s, Second_Test category.\n",
  156.     [ self name ], sel_getName (_cmd));
  157.   return self;
  158. }
  159.  
  160.  
  161. - additionalMethod7a {
  162.  
  163.   printf( "a message from %s, %s, Second_Test category.\n",
  164.     [ self name ], sel_getName (_cmd));
  165.   return self;
  166. }
  167.  
  168.  
  169. - additionalMethod8a {
  170.  
  171.   printf( "a message from %s, %s, Second_Test category.\n",
  172.     [ self name ], sel_getName (_cmd));
  173.   return self;
  174. }
  175.  
  176.  
  177. @@end
  178.  
  179.  
  180. @@implementation SubClass1 (Second_Test)
  181.  
  182. - additionalMethod3 {
  183.  
  184.   printf( "a message from %s, %s, Second_Test category.\n",
  185.     [ self name ], sel_getName (_cmd));
  186.   return self;
  187. }
  188.  
  189.  
  190.  
  191. @@end
  192.  
  193.  
  194. @
  195.